package com.dd.cloud.user.service.pres.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dd.cloud.common.constants.PresConstants;
import com.dd.cloud.user.entity.pres.PresYfDetail;
import com.dd.cloud.user.mapper.pres.PresYfDetailMapper;
import com.dd.cloud.user.service.pres.IPresYfDetailService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Lx
 * @version 1.0
 */
@Slf4j
@Service
public class PresYfDetailServiceImpl extends ServiceImpl<PresYfDetailMapper, PresYfDetail> implements IPresYfDetailService {
    /**
     * 查询一方制药 处方状态流转中的订单id
     *
     * @return
     */
    @Override
    public List<String> queryPresStatusRoamThirdPartyIdListYf() {
        return getBaseMapper().queryPresStatusRoamThirdPartyIdListYf(PresConstants.PresStatus.PRES_STATUS_ROAM_IN);
    }
}
